package Io;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.charset.StandardCharsets;

public class Test {
    public static void main(String[] args) throws IOException {
        File file=new File("pra2.txt");
        FileOutputStream fos=new FileOutputStream(file,true);
        char a;
        for (char i=97;i<123;i++){
            a=i;
            fos.write(a);
        }
        /*
        for (int i=0;i<26;i++){

            fos.write(97+i);
        }
         */
fos.close();
        System.out.println("finish");
    }
}
